Skip to content

add: complete first-success init flow#30

Draft
qqpann wants to merge 2 commits into
mainfrom
codex/init-first-success
Draft

add: complete first-success init flow#30
qqpann wants to merge 2 commits into
mainfrom
codex/init-first-success

Conversation

@qqpann

@qqpann qqpann commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Description of change

NotCMS CLI の onboarding を、初期化から最初の content query まで一続きにします。

  • API key がない場合の browser login を notcms init に統合
  • npm / pnpm / Yarn / Bun を判定し、必要な依存を安全に追加
  • Yarn PnP の境界とユーザー同意を検証してから install
  • config、pull、schema 生成、最初の query 例までを連続案内
  • 依存解決・PnP security・init / pull / schema の回帰テストと英日ドキュメントを追加

これにより、手作業で認証・依存追加・schema 生成をつなぐ必要がなくなり、Dashboard の first-success checklist と同じ完了地点まで CLI から到達できます。

検証:

  • pnpm check
  • pnpm test(SDK: 114 passed / 2 skipped)
  • pnpm --filter notcms-dash test:e2e:first-success(実 CLI を含む 2/2 passed)

Pull-Request Checklist

  • Code is up-to-date with the main branch
  • pnpm check passes with this change
  • pnpm test passes with this change
  • This pull request links relevant issues as Fixes #0000 — N/A(関連 Issue なし)
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions outlined in the conventional commit spec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant